package mshop.com.schild_kotlin.mvp.contract

import mshop.com.schild_kotlin.entitys.HomeBean
import mshop.com.schild_kotlin.mvp.base.BasePresenter
import mshop.com.schild_kotlin.mvp.base.BaseView

/**
 * Created by mayi on 2018/5/24.
 * @Autor CaiWF
 * @Email 401885064@qq.com
 * @TODO
 */
interface HomeContract{
    /**
     * 获取数据
     */
    interface View: BaseView<BasePresenter> {
        fun setData(entity:HomeBean)
    }

    interface Presenter: BasePresenter {
        fun requestData()
    }

}